import React, { Component } from 'react'
import { SearchBar } from 'antd-mobile'
import './Search.less'

class Search extends Component {
    render() {
        return (
            <div className="search-bar">
                <SearchBar placeholder="美图搜索" onSubmit={value => this.props.cookBookSearch(value)} />
            </div>
        )
    }
}

export default Search